﻿$(function () {
    $('#_specialOfferGrid').jqGrid({
        url: 'http://localhost/AdventureWorks.Services/SpecialOfferService.svc/specialOffer?category=Reseller',
        datatype: 'json',
        mtype: 'GET',
        colNames: [],
        colModel: [
        ],
        pager: '#pager',
        rowNum: 10,
        rowList: [10,20,30],
        sortname: 'ii',
        sortorder: 'ddd',
        viewrecords: true,
        gridview: true,
        caption: 'My First grid'
    });
});